<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>vuejs测试</title>
<script src="http://static.runoob.com/assets/vue/1.0.11/vue.min.js"></script>
</head>
<body>
	<div id="app">
		<ul>
			<li v-for="todo in todos">{{ todo.text }}</li>
		</ul>
	</div>
	<script>
		new Vue({
			el : '#app',
			data : {
				todos : [ {
					text : 'Learn JavaScript'
				}, {
					text : 'Learn Vue.js'
				}, {
					text : 'Build Something Awesome'
				} ]
			}
		})
	</script>
</body>
</html>